from threading import Thread
import Getfile
import screen

DATAx=[]
DATAy=[]

thread1 = Thread(target=Getfile.serve(), args=(dir,))
thread2 = Thread(target=screen.run(), args=(dir,))
thread1.start()
thread2.start()